Article History
 
 
 
Discussion
 
377 views
 
69% damifortune
pet (format)
 

Commodore PET
 

 

 
Token:
pet
 
Point Type:
 
File Types:
 
Entry Count:
7
 
Max Filesize:
12.5mb
 
Description:
Music made for the Commodore PET. Submission should be able to play back on real hardware (or in an emulator)!
::|CONTENTS
  1. Tools
  2. Restrictions on submit
  3. Playback (for voting)
  4. See also
The Commodore PET was a 1977 personal computer by Commodore International. Some versions of the PET came with "beeper" sound - a 1-channel speaker used for sound generation. That's what we're here to make music for, similar to the ZXBeep format or Channel F. A converter is used to make music in an .xm file that gets turned into a .prg program readable by the PET (or an emulator).

Tools



You will need both the 64tass
assembly compiler and the thingscantpet
.xm converter to make music for this format.

Official repo for Pettan Converter

Pettan Converter supports 64tass v1.53.1515 through v1.55.2200

Quick reference for Pettan:

To convert XM => BIN
python xmconv.py music.xm music.bin

To convert BIN => PRG (Executable)
64tass -C -a -D STANDALONE=1 -o pettan.prg player.asm

Note: if using a different filename than "music.bin"
Update the player.asm file, line 462
.binary "yourBinFileNameHere.bin"


Restrictions on submit



Submission should be a .prg file playable on the Commodore PET (or in an emulator).

Playback (for voting)



Open the .prg in your emulator of choice (such as VICE) to hear the song. Make sure you have enough RAM chosen (default is 8KB)!

See also



- zxbeep (format)
- channelf (format)
- c64 (format)

 
C A T E G O R I E S
 
 
Battle Formats